import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { DictStrIntHelper } from "./DictStrIntHelper";
type int = number;
//class SCopyMountCopyInfo
    
    export  class SCopyMountCopyInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SCopyMountCopyInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.reserveValue);
            DictStrIntHelper.write(arg1, this.cardInfo);
            DictStrIntHelper.write(arg1, this.cardGetInfo);
            arg1.writeInt(this.unownedGetTime);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.reserveValue = arg1.readInt();
            this.cardInfo = DictStrIntHelper.read(arg1);
            this.cardGetInfo = DictStrIntHelper.read(arg1);
            this.unownedGetTime = arg1.readInt();
            return;
        }

        public /* const */_type: int=20445;

        public /* var */reserveValue: int;

        public /* var */cardInfo: Map<any, any> /* flash.utils.Dictionary */;

        public /* var */cardGetInfo: Map<any, any> /* flash.utils.Dictionary */;

        public /* var */unownedGetTime: int;

        public static /* var */_regist: SCopyMountCopyInfo;
    }

            SCopyMountCopyInfo._regist = new SCopyMountCopyInfo(true);
        